class Stu:
    name=None,
    age=None,
    gender=None
    def __init__(self,name,age,gender):
        print(f"我背调用啦{self}")
        self.name = name
        self.age = age
        self.gender = gender

    def __str__(self):
        return f"我是{self.name},性别：{self.gender},年龄：{self.age}"

    def __lt__(self, other):
        return self.age < other.age

    def __le__(self, other):
        return self.age <= other.age

    def __eq__(self, other):
        return self.age == other.age

    def say_hi(self):
        print(f"大家好，我是{self.name}，{self.gender}性，今年{self.age}岁了！！！！")
    def say_hi2(self):
        print("你好呀~")

stu = Stu("张三",14,"男")
stu1 = Stu("李四",16,gender="南")
stu2 = Stu("王五",16,gender="南")

print(stu<stu1)
print(stu>=stu1)
print(stu1==stu2)